package cn.tedu.charging.order.dao.repository;

import cn.tedu.charging.order.pojo.po.ChargingBillFailPO;
import cn.tedu.charging.order.pojo.po.ChargingBillSuccessPO;
import org.springframework.stereotype.Component;

public interface OrderRepository {

    ChargingBillSuccessPO getSuccessOrder(String orderNo);


    ChargingBillFailPO getFailOrder(String orderNo);

    void saveFailOrder(ChargingBillFailPO newChargingBillFailPO);

    void updateDeviceInfo(String orderNo, Integer gunId);
}
